export {};

// 接口：类型（格式）约束
interface Post {
  title: string;
  content: string;
  subtitle?: string
  readonly summary?: string
}
function printPost(post:Post) {
  console.log(post.title);
  console.log(post.content);
}


interface Cache{
  [key:string]:string
}